﻿namespace MDXStudio
{
    using Microsoft.AnalysisServices;
    using System;

    internal class TWAggregation : TWEvent
    {
        internal string AggregationName;

        internal TWAggregation(TraceEventArgs e) : base(e)
        {
        }

        internal override int GetImageIndex()
        {
            return 7;
        }

        internal override string GetLabel()
        {
            return string.Format("Aggregation '{0}'", this.AggregationName);
        }
    }
}

